package com.tedu.ds.sessionAndMessage.pojo.entity;

import com.fasterxml.jackson.databind.ObjectMapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.IOException;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "客服用户对话信息表实体类")
public class WebMessage{

    @ApiModelProperty(value = "对话id", example = "1", required = true)
    private Integer sessionId;

    @ApiModelProperty(value = "客户id", example = "1")
    private Long custId;

    @ApiModelProperty(value = "客户名字", example = "1")
    private String custName;

    @ApiModelProperty(value = "客服id", example = "1")
    private Long csId;

    @ApiModelProperty(value = "客服名字", example = "1")
    private String csName;

    @ApiModelProperty(value = "聊天消息", example = "您好，有什么可以帮助您的？", required = true)
    private String message;

    @ApiModelProperty(value = "记录聊天发送的时间", example = "2023-10-24T20:00:00")
    private Date createTime;

    @ApiModelProperty(value = "分辨发出对象，1: 'c对u发出的数据'", example = "1", required = true)
    private String status;
}